package com.wn.demo01;

/**
 * @author yellow Docter
 * @date 2024-07-09
 * @desc 蜗牛创想：www.woniuxy.com
 *   if\else 语句
 */
public class Demo03 {

    public static void main(String[] args) {

        int age = 20;
        if (age > 18){
            System.out.println("成年人");
        }else {
            System.out.println("未成年");
        }
    }
}
